	<?php session_start();
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use

// if session is not set redirect the user
if(empty($_SESSION['u_name']))
	header("Location:index.php");	

//if logout then destroy the session and redirect the user
if(isset($_GET['logout']))
{
	session_destroy();
	header("Location:index.php?logout=true");
}	
?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Gibbons: Edit Snowmobile Page</title>
	<link href="css/stylesheet-admin.css" rel="stylesheet" type="text/css" />
	
	<script type="text/javascript" src="../js/jquery.ajax.upload.js"></script>
	<link type="text/css" href="../jqueryui/css/cupertino/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="../jqueryui/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="../jqueryui/js/jquery-ui-1.8.16.custom.min.js"></script>
	
	<!--<script type="text/javascript" src="js/popup.js"></script>-->
	 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
	<script type="text/javascript" src="../js/jquery.hoverIntent.minified.js"></script>
	<link rel="stylesheet" href="../universal/style.css">
	<link rel="stylesheet" href="../universal/styles.css">
	<script type="text/javascript" src="../js/tab-view.js"></script>
	<!-- UniversalUploader JavaScript code file -->
	<script type="text/javascript" src="../universal/universalUploader.js"></script>
	<link type="text/css" href="../tabs/css/redmond/jquery-custom.css" rel="stylesheet" />	
	<script type="text/javascript" src="../tabs/js/jquery-custom.js"></script>
	<script type="text/javascript" src="../tabs/js/common.js"></script>
	

	
	<style style="text/css">
	.tb7 
	{
	width: 160px;
	background: transparent url('../images/bg-txt.jpg') no-repeat;
	color : #747862;
	height:13px;
	border:0;
	padding:4px 8px;
	margin-bottom:0px;
	}
	.btnClass {
	position:relative;
	top:-2px;
	background-color: transparent;
	background-image: url(../images/buttonBackground.gif);
	background-repeat: no-repeat;
	width: 134px;
	height: 30px;
	margin: -2px auto;
	padding: -2px 0 0 0;
	text-align: center;
	font-family: Helvetica, Calibri, Arial, sans-serif;
	font-size: 100%;
	font-weight: bold;
	text-decoration: none;
	border:0px;
	cursor:pointer;
}
.errortxt{
	background: #f8dbdb;
	width: 160px;
	background: transparent url('../images/bg-txt-error.jpg') no-repeat;
	color : #747862;
	height:13px;
	border:0;
	padding:4px 8px;
	margin-bottom:0px;
}
.errorlbl{
	border-color: #e77776;
	font-size:11px;
	color: red;
}
	</style>
	
	</head>
	
	<body>
	<?php
$path = "http://".$_SERVER["HTTP_HOST"]."/gibbons";
?>
<?php
include 'includes/header.php';
?>
<table cellpadding="0" cellspacing="0" width="100%" border="0" >
<tr>
<td colspan="2">
<?php
$str = "<a href='home.php?logout' style='text-align:right;'><b>Logout<b></a>";
echo "<div align='right'>Welcome ".$_SESSION['name'].", ".$str."</div>";
?>
</td>
</tr>
<tr>
<td width="15%" valign="top">
<?php
include 'includes/menu.php';
?>
</td>	
	
	
	
  
  
    <td valign="top" >
<div id="tabs">
		<!-- LEFT MAIN AREA -->
	 
		<!-- LEFT MAIN AREA ENDS -->
		
	    <!-- right MAIN AREA STARTS -->
	  <div id="right-main">
		<div class="cars">
		<!-- YOUR FORM DESIGN STARTS HERE -->
		<form action="about-save.php" method="post" id="frmVehicle" name="frmVehicle" enctype="multipart/form-data" >
		
	      <h1><font color="green"><u><strong><center><b>EDIT ABOUT US PAGE</b></center></strong></u></font></h1>
 		
 
			<div id="container1">
            <table cellpadding="0" cellspacing="0" align="center">
			
			
			<tr align="center">
				<td colspan="2" >
					<textarea style="width:400px;height:400px;" id="info" name="info"></textarea>	
				</td>
			</tr>
			
			<tr>
			<td colspan="2" align="right">&nbsp;			</td>
			</tr>
			
			<tr>
				<td colspan="2" align="right">
				<input type="submit" value="Save & Continue"  />	
				</td>
				</tr>
				
			</table>						
			
			</div>
			
			</form>
		
		</div>
	  </div>
		 <!-- RIGHT MAIN AREA -->
	
	<!-- GREY AREA -->
	</td>
  </tr>
</table>
<!-- INCLUDE FOOTER AREA -->
<script type="text/javascript" src="../references/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
		// General options
		mode : "textareas",
		theme : "advanced",
		skin :"o2k7",
		plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",

		// Theme options
		theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
		//theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
		//theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,

		// Example content CSS (should be your site CSS)
		content_css : "css/content.css",

		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "lists/template_list.js",
		external_link_list_url : "lists/link_list.js",
		external_image_list_url : "lists/image_list.js",
		media_external_list_url : "lists/media_list.js",

		// Style formats
		style_formats : [
			{title : 'Bold text', inline : 'b'},
			{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
			{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
			{title : 'Example 1', inline : 'span', classes : 'example1'},
			{title : 'Example 2', inline : 'span', classes : 'example2'},
			{title : 'Table styles'},
			{title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
		],

		// Replace values for the template plugin
		template_replace_values : {
			username : "Some User",
			staffid : "991234"
		}
	});
</script>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="footbg">
	  <tr>
		<td>
		<!-- FOOTER SECOND STARTS -->
	 <?php
    include_once 'include/footer.php';
      ?>
     </div>
     </body>
     </html>